package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 视频对象 video
 * 
 * @author ruoyi
 * @date 2021-11-30
 */
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 视频编号 */
    private Long videoId;

    /** 视频标题 */
    @Excel(name = "视频标题")
    private String videoTilie;

    /** 视频地址 */
    @Excel(name = "视频地址")
    private String videoAddress;

    /** 视频简介 */
    @Excel(name = "视频简介")
    private String videoContext;

    /** 封面 */
    @Excel(name = "封面")
    private String videoPicture;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseDatetime;

    /** 发布者编号 */
    @Excel(name = "发布者编号")
    private Long userId;

    /** 视频类别 */
    @Excel(name = "视频类别")
    private String videoType;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }
    public void setVideoTilie(String videoTilie) 
    {
        this.videoTilie = videoTilie;
    }

    public String getVideoTilie() 
    {
        return videoTilie;
    }
    public void setVideoAddress(String videoAddress) 
    {
        this.videoAddress = videoAddress;
    }

    public String getVideoAddress() 
    {
        return videoAddress;
    }
    public void setVideoContext(String videoContext) 
    {
        this.videoContext = videoContext;
    }

    public String getVideoContext() 
    {
        return videoContext;
    }
    public void setVideoPicture(String videoPicture) 
    {
        this.videoPicture = videoPicture;
    }

    public String getVideoPicture() 
    {
        return videoPicture;
    }
    public void setReleaseDatetime(Date releaseDatetime) 
    {
        this.releaseDatetime = releaseDatetime;
    }

    public Date getReleaseDatetime() 
    {
        return releaseDatetime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setVideoType(String videoType) 
    {
        this.videoType = videoType;
    }

    public String getVideoType() 
    {
        return videoType;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("videoTilie", getVideoTilie())
            .append("videoAddress", getVideoAddress())
            .append("videoContext", getVideoContext())
            .append("videoPicture", getVideoPicture())
            .append("releaseDatetime", getReleaseDatetime())
            .append("userId", getUserId())
            .append("videoType", getVideoType())
            .append("memo", getMemo())
            .toString();
    }
}
